<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="design/styly.jsp" />
<title>Přidání dodavatele</title>
</head>
<body><jsp:include page="design/hlavicka.jsp" />
<div id="menu">
<p><a href="managerHome" >Díly</a>
<a href="managerDodavatele">Dodavatelé</a>
<em class="right">Je spuštěn managerský mod !</em>
</p>
</div>
<h1>Přidat Dodavatele</h1>


<form:form commandName="dodForm" action="pridatDodAkce">
<form:label path="nazev">Název</form:label>
<form:input path="nazev" />
<form:errors path="nazev" cssClass="error" /><br />
<form:label path="ulice">Ulice</form:label>
<form:input path="ulice" />
<form:errors path="ulice" cssClass="error" /><br />
<form:label path="cp">Číslo popisné</form:label>
<form:input path="cp" />
<form:errors path="cp" cssClass="error" /><br />
<form:label path="mesto">Město</form:label>
<form:input path="mesto" />
<form:errors path="mesto" cssClass="error" /><br />
<form:label path="psc">PSČ</form:label>
<form:input path="psc" />
<form:errors path="psc" cssClass="error" /><br />
<input type="submit" value="Přidat"/>
</form:form>
</body>
</html>